class Solution {
public:
	vector<int> runningSum(vector<int>& nums) {
		vector<int> copy = nums;
		for (size_t i = 1; i < nums.size(); i++)
		{
			for (size_t j = 0; j < i; j++)
			{
				nums[i] += copy[j];
			}
		}
		return nums;
	}
};